package com.ai.dmc.index.common.bean;

public class TouristPortraitBean {

	private String state_date; // 统计日期
	private String city_id; // 地市编码
	private String region_type; // 景区类型编码
	private String region_id; // 景区编码
	private String sex;// 性别
	private String age_level_id;// 年龄层次
	private String consume_level_id;// 消费层次
	private String prov_code_gov;// 户籍地
	private String term_brand_id; // 终端品牌
	private String vst_person_cnts;// 游客数

	public String getState_date() {
		return state_date;
	}

	public void setState_date(String state_date) {
		this.state_date = state_date;
	}

	public String getCity_id() {
		return city_id;
	}

	public void setCity_id(String city_id) {
		this.city_id = city_id;
	}

	public String getRegion_type() {
		return region_type;
	}

	public void setRegion_type(String region_type) {
		this.region_type = region_type;
	}

	public String getRegion_id() {
		return region_id;
	}

	public void setRegion_id(String region_id) {
		this.region_id = region_id;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAge_level_id() {
		return age_level_id;
	}

	public void setAge_level_id(String age_level_id) {
		this.age_level_id = age_level_id;
	}

	public String getConsume_level_id() {
		return consume_level_id;
	}

	public void setConsume_level_id(String consume_level_id) {
		this.consume_level_id = consume_level_id;
	}

	public String getProv_code_gov() {
		return prov_code_gov;
	}

	public void setProv_code_gov(String prov_code_gov) {
		this.prov_code_gov = prov_code_gov;
	}

	public String getTerm_brand_id() {
		return term_brand_id;
	}

	public void setTerm_brand_id(String term_brand_id) {
		this.term_brand_id = term_brand_id;
	}

	public String getVst_person_cnts() {
		return vst_person_cnts;
	}

	public void setVst_person_cnts(String vst_person_cnts) {
		this.vst_person_cnts = vst_person_cnts;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((age_level_id == null) ? 0 : age_level_id.hashCode());
		result = prime * result + ((city_id == null) ? 0 : city_id.hashCode());
		result = prime * result + ((consume_level_id == null) ? 0
				: consume_level_id.hashCode());
		result = prime * result
				+ ((prov_code_gov == null) ? 0 : prov_code_gov.hashCode());
		result = prime * result
				+ ((region_id == null) ? 0 : region_id.hashCode());
		result = prime * result
				+ ((region_type == null) ? 0 : region_type.hashCode());
		result = prime * result + ((sex == null) ? 0 : sex.hashCode());
		result = prime * result
				+ ((state_date == null) ? 0 : state_date.hashCode());
		result = prime * result
				+ ((term_brand_id == null) ? 0 : term_brand_id.hashCode());
		result = prime * result
				+ ((vst_person_cnts == null) ? 0 : vst_person_cnts.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		TouristPortraitBean other = (TouristPortraitBean) obj;
		if (age_level_id == null) {
			if (other.age_level_id != null) {
				return false;
			}
		} else if (!age_level_id.equals(other.age_level_id)) {
			return false;
		}
		if (city_id == null) {
			if (other.city_id != null) {
				return false;
			}
		} else if (!city_id.equals(other.city_id)) {
			return false;
		}
		if (consume_level_id == null) {
			if (other.consume_level_id != null) {
				return false;
			}
		} else if (!consume_level_id.equals(other.consume_level_id)) {
			return false;
		}
		if (prov_code_gov == null) {
			if (other.prov_code_gov != null) {
				return false;
			}
		} else if (!prov_code_gov.equals(other.prov_code_gov)) {
			return false;
		}
		if (region_id == null) {
			if (other.region_id != null) {
				return false;
			}
		} else if (!region_id.equals(other.region_id)) {
			return false;
		}
		if (region_type == null) {
			if (other.region_type != null) {
				return false;
			}
		} else if (!region_type.equals(other.region_type)) {
			return false;
		}
		if (sex == null) {
			if (other.sex != null) {
				return false;
			}
		} else if (!sex.equals(other.sex)) {
			return false;
		}
		if (state_date == null) {
			if (other.state_date != null) {
				return false;
			}
		} else if (!state_date.equals(other.state_date)) {
			return false;
		}
		if (term_brand_id == null) {
			if (other.term_brand_id != null) {
				return false;
			}
		} else if (!term_brand_id.equals(other.term_brand_id)) {
			return false;
		}
		if (vst_person_cnts == null) {
			if (other.vst_person_cnts != null) {
				return false;
			}
		} else if (!vst_person_cnts.equals(other.vst_person_cnts)) {
			return false;
		}
		return true;
	}

	@Override
	public String toString() {
		return "TouristPortraitBean [state_date=" + state_date + ", city_id="
				+ city_id + ", region_type=" + region_type + ", region_id="
				+ region_id + ", sex=" + sex + ", age_level_id=" + age_level_id
				+ ", consume_level_id=" + consume_level_id + ", prov_code_gov="
				+ prov_code_gov + ", term_brand_id=" + term_brand_id
				+ ", vst_person_cnts=" + vst_person_cnts + "]";
	}

}
